package com.ruoyi.operation.domain.bo;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 运营部门日志记录结果业务对象
 *
 * @author ruoyi
 * @date 2025-10-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TOperationdailyResultBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date excutedate;

    /**
     * 主表id
     */
    @NotBlank(message = "主表id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dailyid;

    /**
     * S:成功；F:失败；M:其他状态
     */
    @NotBlank(message = "S:成功；F:失败；M:其他状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String result;

    /**
     * 下拉框，从cmdb获取
     */
    @NotBlank(message = "下拉框，从cmdb获取不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memo;


    private String templatetype;


    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date specificdate;
}
